var ns;
var app = new Vue({
    el: '#app',
    data: {
    },
methods:{
  //退出系统
  logout: function() {
        var that = this;
        api.removePrefs({ key: 'uid' });
        api.removePrefs({ key: 'loginuser' });
        setTimeout(function() {
          ns.openWin('login_frm', '', {
              id: 0,
          });
        }, 1000);
  },
  open_editpassword: function(item) {
      var that = this;
      ns.openWin('dl_editpassword', '修改登录密码', {
          id: 0,
          passwordtype:0,
      });
    }
  }
});
apiready = function() {
    api.parseTapmode();
    ns = window.Foresight.Util;
    // app.get_data();
};
